﻿using TianYuan.Core.Dependency;
using TianYuan.Core.Domain.Uow;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TianYuan.Core.Domain.Uow
{
    public interface IEfUnitOfWork : IUnitOfWorkBase,ITransientDependency
    {
        /// <summary>
        /// 关闭数据过滤器方法
        /// </summary>
        /// <param name="filterNames">一个或多个过滤器名称</param>
        /// <returns></returns>
        IDisposable DisableFilters(params string[] filterNames);
    }
}
